﻿using Microsoft.EntityFrameworkCore;
using Sigma.Admin.API.Context.Entity;

namespace Sigma.Admin.API.Context
{
    public class EFDbContext : DbContext
    {
        public EFDbContext(DbContextOptions<EFDbContext> options) : base(options)
        {

        }

        public DbSet<UserEntity> Users { get; set; }
        public DbSet<RoleEntity> Roles { get; set; }
        public DbSet<PermissionEntity> Permissions { get; set; }
        public DbSet<MenuEntity> Mesnus { get; set; }
    }
}
